package pers.kw.config.persist;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@Configuration
@EntityScan(basePackages = {"pers.kw.**.persist.entity"})
@EnableJpaRepositories(basePackages = {"pers.kw.**.persist.dao"})
@MapperScan(basePackages = "pers.kw.**.persist.mapper")
@EnableJpaAuditing
public class EntityConfig {
}